﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            float i = 1;

            for (int n = 3; n <= 24; n=n+3)
            {
                i = i * 2;
                if (n == 3 || n == 6 || n == 9 || n == 12 || n == 15 || n == 18 || n == 21 || n == 24)
                {
                    Console.WriteLine("через " + n + " часов, размер будет " + i);
                    Console.ReadLine();
                }
            }
         //   Console.WriteLine(i);
         //   Console.ReadLine();
        }
    }
}
